package com.tbit.uqbike.client.pojo;

import java.util.Date;

/**
 * @Author: chen
 * @Description: 用户会员卡绑定
 * @Date: 创建于 10:08 2019/8/19
 */
public class UserCardBound {
    /**
     * 绑定id
     */
    private Integer boundId;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 会员卡id
     */
    private Integer cardId;
    /**
     * 绑定时间
     */
    private Date boundTime;
    /**
     * 过期时间
     */
    private Date expireTime;
    /**
     * 用户已使用次数
     */
    private Integer useCount;
    /**
     * 备注
     */
    private String remark;

    public UserCardBound() {

    }

    public UserCardBound(Integer userId, Integer cardId, Date boundTime,
                         Date expireTime, Integer useCount, String remark) {
        this.userId = userId;
        this.cardId = cardId;
        this.boundTime = boundTime;
        this.expireTime = expireTime;
        this.useCount = useCount;
        this.remark = remark;
    }

    public Integer getBoundId() {
        return boundId;
    }

    public void setBoundId(Integer boundId) {
        this.boundId = boundId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCardId() {
        return cardId;
    }

    public void setCardId(Integer cardId) {
        this.cardId = cardId;
    }

    public Date getBoundTime() {
        return boundTime;
    }

    public void setBoundTime(Date boundTime) {
        this.boundTime = boundTime;
    }

    public Date getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Date expireTime) {
        this.expireTime = expireTime;
    }

    public Integer getUseCount() {
        return useCount;
    }

    public void setUseCount(Integer useCount) {
        this.useCount = useCount;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "UserCardBound{" +
                "boundId=" + boundId +
                ", userId=" + userId +
                ", cardId=" + cardId +
                ", boundTime=" + boundTime +
                ", expireTime=" + expireTime +
                ", useCount=" + useCount +
                ", remark='" + remark + '\'' +
                '}';
    }
}
